<template>
    <div>
        home
        <MyProgress :width="num"></MyProgress>
        <MyButton type="bbb" @click.native="num += 10">加</MyButton>
        <MyButton type="ccc" @click.native="num -= 10">减</MyButton>
    </div>
</template>

<script>
import MyButton from '@/components/MyButton.vue'
import MyProgress from '@/components/MyProgress.vue'
export default {
  name: 'PackagingIndex',
  components: {
    MyButton,
    MyProgress
  },
  data () {
    return {
      num: 0
    }
  },
  provide () {
    return {
      type: 'aaa'
    }
  },
  mounted () {

  },

  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
